package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the JOBHANDLERCONTROL database table.
 * 
 */
@Entity
@Table(name="JOBHANDLERCONTROL")
public class Jobhandlercontrol implements Serializable {
	private static final long serialVersionUID = 1L;
	private long commandid;
	private String command;
	private BigDecimal expuid;
	private Date requesttime;
	private BigDecimal serverid;
	private String status;

    public Jobhandlercontrol() {
    }


	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(unique=true, nullable=false)
	public long getCommandid() {
		return this.commandid;
	}

	public void setCommandid(long commandid) {
		this.commandid = commandid;
	}


	@Column(nullable=false, length=255)
	public String getCommand() {
		return this.command;
	}

	public void setCommand(String command) {
		this.command = command;
	}


	@Column(nullable=false)
	public BigDecimal getExpuid() {
		return this.expuid;
	}

	public void setExpuid(BigDecimal expuid) {
		this.expuid = expuid;
	}


    @Temporal( TemporalType.DATE)
	@Column(nullable=false)
	public Date getRequesttime() {
		return this.requesttime;
	}

	public void setRequesttime(Date requesttime) {
		this.requesttime = requesttime;
	}


	@Column(nullable=false)
	public BigDecimal getServerid() {
		return this.serverid;
	}

	public void setServerid(BigDecimal serverid) {
		this.serverid = serverid;
	}


	@Column(nullable=false, length=255)
	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

}